package com.wangmei.pojo;

import java.util.List;

public class BuyCartPojo {
    private List<OrderDetailPojo> items;
    private int allTotal; //总数量
    private int moneyMoney;//总价格

    public void additem(OrderDetailPojo item){
        this.items.add(item);
    }

    public List<OrderDetailPojo> getItems() {
        return items;
    }

    public void setItems(List<OrderDetailPojo> items) {
        this.items = items;
    }

    public int getAllTotal() {
        return allTotal;
    }

    public void setAllTotal(int allTotal) {
        this.allTotal = allTotal;
    }

    public int getMoneyMoney() {
        return moneyMoney;
    }

    public void setMoneyMoney(int moneyMoney) {
        this.moneyMoney = moneyMoney;
    }
}
